
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository, NgVariable } from '@farris/bef';
import { FpxxEntity } from './entities/fpxxentity';

import { FpxxProxy } from './fpxxproxy';

@Injectable()
@NgRepository({
    apiUrl: 'api/basicdata/basicdata/v1.0/fplx_frm',
    entityType: FpxxEntity
})
export class FpxxRepository extends BefRepository<FpxxEntity> {
    public name = 'FpxxRepository';

    public proxy: FpxxProxy;
    public paginationInfo = {
        FpxxEntity: {
            pageSize: 20,
        }
    };
    constructor(injector: Injector) {
        super(injector);
        this.proxy = injector.get(FpxxProxy, null);
    }
}